export default {
    system: {
        system_tip: "System Tip",
        system_confirm: "OK",
        system_cancel: "Cancel"
    },
    page: {
        login: {
            title: "Console",
            email: "Email",
            email_placeholder: "Please enter your email",
            passwd: "Password",
            passwd_placeholder: "Please enter your password",
            login_btn: "Sign In",
            register_left: "Don't have an account?",
            register_link: "Register Now"
        },
        register: {
            title: "User Registration",
            email: "Email",
            email_placeholder: "Please enter your email",
            passwd: "Password",
            passwd_placeholder: "Please enter your password",
            confirm_passwd: "Confirm Password",
            confirm_passwd_placeholder: "Please re-enter your password",
            register_btn: "Create Account",
            login_left: "Already have an account?",
            login_link: "Back to Login",
            passwd_same_error: "Passwords do not match"
        },
        layout: {
            title: "Console",
            version: "Version {version}",
            has_update: "New version available!",
            view_update: "View Updates",
            latest: "Up to date",
            docs: "Documentation",
            running: "Running",
            logout: "Logout",
            logout_confirm_title: "Confirm Logout",
            logout_confirm_message: "Are you sure you want to logout?",
            logout_confirm_ok: "Logout",
            logout_confirm_cancel: "Cancel",
            docs_config_warning: "Please configure the documentation URL first",
            language: "Language",
            lang_en: "English",
            lang_zh: "Chinese"
        },
        dashboard: {
            app_list: "Applications",
            app_list_sub: "Manage all your applications"
        },
        project: {
            list_title: "Applications",
            list_sub: "Manage all your applications",
            add_app: "Add Application",
            status_running: "Running",
            status_creating: "Creating",
            empty_title: "No Projects",
            empty_desc: "Click 'Add Application' in the top right to create your first project",
            empty_btn: "Create Now",
            dialog_add_title: "Add Application",
            dialog_app_name: "Application Name",
            dialog_app_name_placeholder: "Please enter application name",
            cancel: "Cancel",
            create_app: "Create Application",
            creating_warning: "This application is being created, please try again later",
            input_project_name: "Please enter project name",
            create_success: "Application created successfully"
        },
        project_detail: {
            title: "Overview",
            breadcrumb_home: "Home",
            page_title: "Application Overview",
            page_sub: "View basic information and runtime status",
            healthy: "Healthy",
            card_app_info: "Application Info",
            field_app_name: "Application Name",
            unset: "Not set",
            field_status: "Status",
            unknown: "Unknown",
            field_table_count: "Tables",
            quick_actions: "Quick Actions",
            manage_tables: "Manage Tables",
            api_keys: "API Keys",
            base_settings: "Basic Settings",
            third_integrations: "Third-party Integrations",
            detail_info: "Details",
            field_app_id: "Application ID",
            field_owner: "Owner",
            field_need_auth: "Authentication Required",
            yes: "Yes",
            no: "No",
            field_permission: "Permission Control",
            enabled: "Enabled",
            disabled: "Disabled",
            field_web_console: "Web Console",
            field_auth_table: "Auth Table",
            field_description: "Description",
            project_nav: "Project Navigation",
            project_console: "Project Console",
            menu_overview: "Overview",
            menu_tables: "Tables",
            menu_dynamicapi: "Dynamic API",
            menu_apikeys: "API KEYS",
            menu_settings: "Application Settings",
            project_manage: "Project Management"
        },
        tables: {
            title: "Tables",
            sub: "Manage application tables",
            new_table: "New Table",
            edit_table: "Edit Table",
            delete_table: "Delete Table",
            no_tables: "No tables",
            no_tables_tip: "Click the button above to create the first table",
            select_table_title: "Select a table",
            select_table_tip: "Please select a table from the left to start",
            export_data: "Export Data",
            add_data: "Add Data",
            actions: "Actions",
            data_manage: "Data Management",
            edit_data: "Edit Data",
            input_password: "Please enter password",
            please_select: "Please select {label}",
            default_value: "Default Value",
            save_data: "Save Data",
            table_basic: "Table Basic Info",
            table_name: "Table Name",
            table_name_placeholder: "Enter table name (English)",
            table_name_hint: "Use English, e.g., user_info",
            table_desc: "Table Description",
            field_list: "Fields",
            add_field: "Add Field",
            no_fields: "No fields, click above to add",
            field_label: "Field {index}",
            field_name: "Field Name",
            field_name_placeholder: "Field name",
            field_type: "Field Type",
            choose_type: "Choose type",
            ref_object: "Reference Object",
            field_desc: "Field Description",
            is_primary: "Primary Key",
            is_required: "Required",
            is_show: "Show Mapping",
            default_value_placeholder: {
                string: "Enter default string",
                integer: "Enter default number",
                decimal: "Enter default decimal",
                boolean: "true or false",
                date: "YYYY-MM-DD",
                datetime: "YYYY-MM-DD HH:mm:ss",
                password: "Default password"
            },
            drawer_table_title_add: "New Table",
            drawer_table_title_edit: "Edit Table",
            save: "Save",
            confirm_delete_table: "Deleting a table will also delete its data. Are you sure to delete table \"{name}\"?",
            delete_success: "Deleted successfully",
            delete_failed: "Delete failed",
            table_created: "Table created successfully",
            table_updated: "Table updated successfully",
            empty_text: "No Data",
            bool_true: "Yes",
            bool_false: "No",
            operations: "Operations"
        },
        apikeys: {
            title: "API Key Management",
            section_generate: "Generate New Key",
            name: "Key Name",
            name_placeholder: "Enter key name, e.g., Production Key",
            desc: "Description",
            desc_placeholder: "Optional: describe the purpose and usage of this key",
            expire_at: "Expiration Time",
            expire_placeholder: "Select expiration time (optional)",
            expire_hint: "Leave empty for no expiration",
            btn_generate: "Generate Key",
            btn_reset: "Reset",
            list_title: "Generated Keys",
            btn_refresh: "Refresh",
            api_howto: "API Usage",
            api_howto_replace_hint: "Replace YOUR_API_KEY with your actual API key",
            loading: "Loading...",
            empty: "No API keys",
            status_enabled: "Enabled",
            status_disabled: "Disabled",
            btn_show_key: "View Key",
            btn_delete: "Delete",
            field_name: "Name:",
            field_created: "Created At:",
            field_last_used: "Last Used:",
            never_used: "Never",
            field_desc: "Description:",
            field_expire: "Expires At:",
            value_label: "Key Value:",
            btn_copy: "Copy",
            btn_hide: "Hide Key",
            btn_show: "Show Key",
            copy_success: "Key copied to clipboard",
            copy_failed: "Copy failed",
            warn_input_name: "Please enter key name",
            gen_success: "Key generated successfully",
            gen_failed: "Failed to generate key",
            toggle_success_prefix: "Key ",
            enabled: "enabled",
            disabled: "disabled",
            op_failed: "Operation failed",
            confirm_delete_title: "Delete Key",
            confirm_delete_message: "Are you sure you want to delete key \"{name}\"? This action cannot be undone.",
            confirm_delete_ok: "Delete",
            confirm_delete_cancel: "Cancel",
            delete_success: "Key deleted successfully",
            delete_failed: "Failed to delete key"
        },
        dynamicapi: {
            title: "Third-party Service Integrations",
            add_service: "Add External Service",
            field_key: "Service Key",
            field_key_placeholder: "Enter key, e.g., weather_service",
            field_key_hint: "Lowercase letters + digits, <16 chars, start with letter",
            field_url: "Request URL",
            field_url_placeholder: "https://api.example.com/get_weather",
            field_url_hint: "Full API address with http(s), TLDs (.cn, .uk, .de, etc.), and query params",
            field_desc: "Description",
            field_desc_placeholder: "Optional: describe the purpose and usage of this service",
            field_method: "Method",
            field_headers: "Headers",
            field_headers_hint: "Placeholders supported, e.g., {{token}}, {{userId}}",
            field_body: "Body",
            field_body_hint: "Placeholders supported, e.g., {{text}}, {{content}}, {{location}}",
            field_return_example: "Return Example",
            btn_add: "Add Service",
            btn_reset: "Reset",
            test_title: "Test Service Call",
            btn_extract_vars: "Extract Variables",
            input_var_value: "Input variable value",
            input_var_desc: "Variable description (optional)",
            no_vars: "No variables detected.",
            btn_exec_test: "Run Test",
            result_label: "Result:",
            configured_title: "Configured Services",
            btn_refresh: "Refresh",
            loading: "Loading...",
            empty: "No services configured",
            field_url_label: "URL:",
            field_method_label: "Method:",
            field_desc_label: "Description:",
            field_headers_label: "Headers:",
            field_body_label: "Body:",
            field_return_example_label: "Example of the JSON structure returned by the third-party service. It is recommended to supplement the return parameter descriptions based on test results for better AI comprehension.",
            btn_toggle_details_show: "Collapse",
            btn_toggle_details_hide: "Expand Details",
            confirm_delete_title: "Delete Service",
            confirm_delete_message: "Are you sure you want to delete service \"{name}\"? This action cannot be undone.",
            confirm_delete_ok: "Delete",
            confirm_delete_cancel: "Cancel",
            delete_success: "Service deleted successfully",
            delete_failed: "Failed to delete service",
            fetch_failed: "Failed to fetch services",
            url_invalid: "Invalid URL format",
            key_invalid: "Invalid key: lowercase letters + digits, <16 chars, start with letter",
            need_fields_warning: "Please fill in key, URL and description",
            need_test_warning: "Please test the service first",
            json_invalid: "Headers or Body is not valid JSON",
            request_failed_prefix: "Request failed: "
        },
        settings: {
            app_manage_title: "Application Settings",
            app_config_center: "Application Config Center",
            section_app_manage: "Application",
            menu_users: "Users",
            section_config_center: "Configuration",
            menu_basic: "Basic Info",
            menu_auth: "Auth Strategy",
            menu_permission: "Permission Strategy",
            section_danger: "Danger Zone",
            menu_delete: "Delete Application",
            fetch_info_failed: "Failed to fetch application info"
        },
        settings_basic: {
            title: "Basic Settings",
            save: "Save",
            app_name: "Application Name",
            app_name_placeholder: "Please enter application name",
            fetch_info_failed: "Failed to fetch application info",
            warn_app_name: "Please enter application name",
            save_success: "Saved successfully",
            save_failed: "Save failed"
        },
        settings_auth: {
            title: "Auth Strategy",
            subtitle: "Support multiple login methods and providers for user authentication.",
            save: "Save",
            enable_login: "Enable Login",
            bind_business: "Bind Business Table",
            bind_business_placeholder: "Please select a table",
            provider_wechat: "WeChat",
            wechat_appid: "WeChat Service AppID",
            wechat_appid_placeholder: "WeChat Service AppID",
            wechat_secret: "WeChat Service SECRET",
            wechat_secret_placeholder: "WeChat Service SECRET",
            redirect_uri: "Redirect URI",
            redirect_uri_placeholder: "e.g., https://your-domain.com/auth/redirect",
            redirect_uri_tip: "After OAuth2 provider auth, user is redirected here with &token=xxxx appended.",
            callback_uri: "Callback Base",
            callback_uri_placeholder: "e.g., https://your-domain.com",
            callback_uri_tip: "OAuth2 callback URL must exactly match provider configuration.",
            provider_email: "Email",
            smtp_host: "SMTP Host",
            smtp_host_placeholder: "e.g., smtp.qq.com",
            smtp_port: "Port",
            smtp_port_placeholder: "e.g., 465",
            smtp_user: "Sender Email",
            smtp_user_placeholder: "e.g., admin@example.com",
            smtp_pass: "Auth Code / Password",
            smtp_pass_placeholder: "Please enter auth code",
            code_template: "Verification Code Template",
            code_template_placeholder: "Template, include variable ${{code}} where appropriate",
            provider_google: "Google",
            google_client_id: "Google Client ID",
            google_client_id_placeholder: "Google OAuth Client ID",
            google_client_secret: "Google Client Secret",
            google_client_secret_placeholder: "Google OAuth Client Secret",
            login_save_success: "Login configuration saved",
            save_failed: "Save failed",
            fetch_info_failed: "Failed to fetch application info"
        },
        settings_permission: {
            title: "Permission Strategy",
            subtitle: "Manage row-level security for tables",
            save: "Save",
            no_tables: "No tables",
            public_access: "Public Access",
            enable: "Enable",
            save_success: "Saved successfully",
            save_failed: "Save failed",
            fetch_info_failed: "Failed to fetch application info",
            planning: "Planning...."
        },
        settings_cleanup: {
            planning: "Planning (coming soon)..."
        },
        settings_delete: {
            danger_title: "Dangerous Operation",
            warning: "Deleting the application will permanently remove all related data. This action cannot be undone.",
            includes: "Includes: tables, API keys, configuration, etc.",
            delete_btn: "Delete Application",
            fetch_info_failed: "Failed to fetch application info",
            confirm_title: "Delete Application",
            confirm_message: "Please enter application name \"{name}\" to confirm deletion",
            confirm_ok: "Delete",
            confirm_cancel: "Cancel",
            name_mismatch: "Application name does not match, please re-enter",
            name_mismatch_cancelled: "Name mismatch, deletion cancelled",
            delete_success: "Application deleted successfully",
            delete_failed: "Failed to delete application"
        },
        error401: {
            back: "Back",
            title: "401 Error!",
            no_permission: "You do not have permission!",
            info: "Sorry, you are not authorized to access this page. Please do not attempt illegal operations. You may return to the main page.",
            back_home: "Home"
        },
        error404: {
            title: "404 Error!",
            not_found: "Page Not Found!",
            info: "Sorry, the page you are looking for does not exist. Check the URL for errors, refresh the page, or try finding something else in our app.",
            back_home: "Back Home"
        }
    }
}